package com.lagou.homeWork4.hw2;

import java.io.File;
import java.util.concurrent.TimeUnit;

public class DeleatTest {

    public static void main(String[] args) {
        // 创建测试目录
        CreateFoldersAndFilesTest.createFoldersAndFiles();
        try {
            // 暂停一会，以便查看创建的目录
            TimeUnit.SECONDS.sleep(5);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        // 删除
        File f = new File("./lagouhomeWork4/hw2/目录1/");
        if (f.exists()){
            DeleteAll.deleteAll("./lagouhomeWork4/hw2/目录1/");
        }

    }
}
